import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
// 添加全局样式
import './assets/css/global.css'
//导入axios
import axios from 'axios'
//引入自定义的iconfont
import './assets/font/iconfont.css'
//引入MD5
import md5 from 'js-md5';

//挂载
Vue.prototype.$md5 = md5;
// Vue.prototype.$http = axios
// //设置访问跟路径
// axios.defaults.baseURL = "http://localhost:8088"

// //设置header中携带的数据
// axios.interceptors.request.use(config =>{
//       //设置token
//       config.headers.token = window.sessionStorage.getItem('token')
//       //记得一定要有return
//       return config
// })


Vue.config.productionTip = false

new Vue({
      router,
      render: h => h(App)
}).$mount('#app')
